  
package com.xebest.web.form;  

import org.apache.commons.lang.StringUtils;

import java.io.Serializable;
import java.math.BigDecimal;

public class XeVenSplitOrderDetailForm implements Serializable{
	private static final long serialVersionUID = 1L;
	private String limitTempId; //限时抢购模板ID
	private BigDecimal proBasePrice;   //原始单价
	private String itemId;              //商品明细id
	private String proSpu;					//商品spu
	private String proSku;					 //商品sku
	private String proPicture;               //商品图片
	private String proName;                  //商品名称
	private String proNum;                   //商品货号
	private String proOrgCodeName;          //商品分类
	private String specName;              //商品规格名
	private String specValue;             //商品规格值
	private BigDecimal proCostPrice;         //商品成交价
	private BigDecimal purchaseNum;       //商品购买数量
	private BigDecimal realSendNum;          //商品实发数量
	private BigDecimal proTotalPrice;        //商品总价
	private BigDecimal specialDisamount;  //特批优惠均摊
	private BigDecimal pmtAmount;         //优惠均摊
	private BigDecimal freAmount;         //运费均摊
	private BigDecimal proSplitSurplusNum;   //剩余数量
	private BigDecimal proSplitNum;          //拆分数量
	private String storeId;					 //仓库id
	private String storeName;				 //仓库名称
	private String proUnit;   //单位
	private String proBarCode;     //商品条码
	private String proOrgCode;   //分类id
    /**
     * 商品类型  5：普通商品1：捆绑商品（组装、大礼包）2：赠品商品3：配件商品4：促销商品
     */
    private Integer proType;

    /**
     * 商品价格
     */
    private BigDecimal proPrice;
    /**
     * 是否是冻品 1：是 2：否
     */
    private Integer frozenFlag;

    /**
     * 标准重量
     */
    private BigDecimal normWeight;

    /**
     * 计价方式  1：重量  2：数量 
     */
    private Integer pricingType;

    /**
     * 平台优惠分摊金额v3.1.4 add 李贝贝
     */
    private BigDecimal platPmtAmount;
    
    /**
     * 商户优惠券优惠分摊金额v3.1.4 add 李贝贝
     */
    private BigDecimal venPmtAmount;
    
    
	public BigDecimal getPlatPmtAmount() {
	
		return platPmtAmount;
	}

	public void setPlatPmtAmount(BigDecimal platPmtAmount) {
	
		this.platPmtAmount = platPmtAmount;
	}

	public BigDecimal getVenPmtAmount() {
	
		return venPmtAmount;
	}

	public void setVenPmtAmount(BigDecimal venPmtAmount) {
	
		this.venPmtAmount = venPmtAmount;
	}

	public void setProSplitSurplusNum(BigDecimal proSplitSurplusNum) {
	
		this.proSplitSurplusNum = proSplitSurplusNum;
	}

	public void setProSplitNum(BigDecimal proSplitNum) {
	
		this.proSplitNum = proSplitNum;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getProSpu() {
		return proSpu;
	}

	public void setProSpu(String proSpu) {
		this.proSpu = proSpu;
	}

	public Integer getProType() {
	
		return proType;
	}

	public void setProType(Integer proType) {
	
		this.proType = proType;
	}

	public BigDecimal getProPrice() {
	
		return proPrice;
	}

	public void setProPrice(BigDecimal proPrice) {
	
		this.proPrice = proPrice;
	}



	public BigDecimal getRealSendNum() {
		if (null == realSendNum) {
			return new BigDecimal("0");
		} else {
			return realSendNum;
		}
	}

	public void setRealSendNum(BigDecimal realSendNum) {
		this.realSendNum = realSendNum;
	}

	public String getProUnit() {
	
		return proUnit;
	}
	public void setProUnit(String proUnit) {
	
		this.proUnit = proUnit;
	}
	public String getProBarCode() {
	
		return proBarCode;
	}
	public void setProBarCode(String proBarCode) {
	
		this.proBarCode = proBarCode;
	}

	public String getLimitTempId() {
		return limitTempId;
	}

	public void setLimitTempId(String limitTempId) {
		this.limitTempId = limitTempId;
	}

	public BigDecimal getProBasePrice() {
		return proBasePrice;
	}

	public void setProBasePrice(BigDecimal proBasePrice) {
		this.proBasePrice = proBasePrice;
	}

	public String getProOrgCodeName() {
		return proOrgCodeName;
	}

	public void setProOrgCodeName(String proOrgCodeName) {
		this.proOrgCodeName = proOrgCodeName;
	}

	public String getProOrgCode() {
		return proOrgCode;
	}

	public void setProOrgCode(String proOrgCode) {
		this.proOrgCode = proOrgCode;
	}

	public Integer getFrozenFlag() {
	
		return frozenFlag;
	}
	public void setFrozenFlag(Integer frozenFlag) {
	
		this.frozenFlag = frozenFlag;
	}

	public BigDecimal getNormWeight() {
		if (null == normWeight) {
			return new BigDecimal("0");
		} else {
			return normWeight;
		}
	}

	public void setNormWeight(BigDecimal normWeight) {
		this.normWeight = normWeight;
	}

	public Integer getPricingType() {
	
		return pricingType;
	}
	public void setPricingType(Integer pricingType) {
	
		this.pricingType = pricingType;
	}
	public String getStoreId() {
	
		return storeId;
	}
	public void setStoreId(String storeId) {
	
		this.storeId = storeId;
	}
	public String getStoreName() {
	
		return storeName;
	}
	public void setStoreName(String storeName) {
	
		this.storeName = storeName;
	}
	public String getProSku() {
	
		return proSku;
	}
	public void setProSku(String proSku) {
	
		this.proSku = proSku;
	}
	public String getProPicture() {
	
		return proPicture;
	}
	public void setProPicture(String proPicture) {
	
		this.proPicture = proPicture;
	}
	public String getProName() {
	
		return proName;
	}
	public void setProName(String proName) {
	
		this.proName = proName;
	}
	public String getProNum() {
	
		return proNum;
	}
	public void setProNum(String proNum) {
	
		this.proNum = proNum;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getSpecValue() {
		return specValue;
	}

	public void setSpecValue(String specValue) {
		this.specValue = specValue;
	}

	public BigDecimal getProCostPrice() {
	
		return proCostPrice;
	}
	public void setProCostPrice(BigDecimal proCostPrice) {
	
		this.proCostPrice = proCostPrice;
	}

	public BigDecimal getProTotalPrice() {
	
		return proTotalPrice;
	}
	public void setProTotalPrice(BigDecimal proTotalPrice) {
	
		this.proTotalPrice = proTotalPrice;
	}
	
	public BigDecimal getPurchaseNum() {
	
		return purchaseNum;
	}

	public void setPurchaseNum(BigDecimal purchaseNum) {
	
		this.purchaseNum = purchaseNum;
	}

	public BigDecimal getSpecialDisamount() {
	
		return specialDisamount;
	}

	public void setSpecialDisamount(BigDecimal specialDisamount) {
	
		this.specialDisamount = specialDisamount;
	}

	public BigDecimal getPmtAmount() {
	
		return pmtAmount;
	}

	public void setPmtAmount(BigDecimal pmtAmount) {
	
		this.pmtAmount = pmtAmount;
	}

	public BigDecimal getFreAmount() {
	
		return freAmount;
	}

	public void setFreAmount(BigDecimal freAmount) {
	
		this.freAmount = freAmount;
	}

	public BigDecimal getProSplitSurplusNum() {
	
		return proSplitSurplusNum;
	}
	public void setProSplitSurplusNum(String proSplitSurplusNum) {
		if (StringUtils.isBlank(proSplitSurplusNum)) {
			this.proSplitSurplusNum = new BigDecimal("0");
		} else {
			this.proSplitSurplusNum = new BigDecimal(proSplitSurplusNum);
		}
	}
	public BigDecimal getProSplitNum() {

		return proSplitNum;
	}
	public void setProSplitNum(String proSplitNum) {
		if (StringUtils.isBlank(proSplitNum)) {
			this.proSplitNum = new BigDecimal("0");
		} else {
			this.proSplitNum = new BigDecimal(proSplitNum);
		}
	}
}

  
